﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.Coolzon.Server.Settings
{
    public class SolutionSetting
    {
        public bool IsBase { get; private set; }

        public string SolutionName { get; set; }
        
        public DomainInstanceMode DomainInstanceMode { get; set; }
    }

    public enum DomainInstanceMode
    {
        /// <summary>
        /// 单一模式，整个系统里只有一个控制域
        /// </summary>
        Singleton = 0x01,

        /// <summary>
        /// 多数模式
        /// </summary>
        Multiple = 0x02,
    }
}
